package com.zx.kitchen.index.common.mvp.model;

import android.app.ProgressDialog;
import android.content.Context;

import com.zx.kitchen.index.common.entity.PurchaseData;
import com.zx.kitchen.index.common.mvp.OnResultListener;

import java.util.List;

/**
 * Created by Administrator on 2017/3/3.
 */

public interface PurchaseModel {
    void getFromNet(int requestCode, Context context, int p,
                    String start_time, String end_time, OnResultListener listener, ProgressDialog progressDialog);

    PurchaseData asyncJson(String str);
}
